package cn.humaohua.study.yanmo_design_pattern.ch07;

public class IntelCPU implements CPUApi {
    // 针脚数量
    private int pins;

    public IntelCPU(int pinHoles) {
        super();
        this.pins = pinHoles;
    }

    @Override
    public void calculate() {
        System.out.println("intel cpu with " + pins + " pins");

    }

}
